package com.medical_backend.entity;

import com.baomidou.mybatisplus.annotation.TableName;

import java.time.LocalDate;

@TableName("reimbursement")
public class Reimbursement {
    private Integer id;
    private String cardId;

    private String insuredName;
    private String medicalName;
    private String address;
    private Double reimbursementAmount;
    private Double totalCast;
    private String invoiceNo;
    private LocalDate date;
    private String isReimbursement;
    private String isRemit;

    public Reimbursement() {
    }

    public Reimbursement(Integer id, String cardId, String insuredName, String medicalName, String address, Double reimbursementAmount, Double totalCast, String invoiceNo, LocalDate date, String isReimbursement, String isRemit) {
        this.id = id;
        this.cardId = cardId;
        this.insuredName = insuredName;
        this.medicalName = medicalName;
        this.address = address;
        this.reimbursementAmount = reimbursementAmount;
        this.totalCast = totalCast;
        this.invoiceNo = invoiceNo;
        this.date = date;
        this.isReimbursement = isReimbursement;
        this.isRemit = isRemit;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCardId() {
        return cardId;
    }

    public void setCardId(String cardId) {
        this.cardId = cardId;
    }

    public String getInsuredName() {
        return insuredName;
    }

    public void setInsuredName(String insuredName) {
        this.insuredName = insuredName;
    }

    public String getMedicalName() {
        return medicalName;
    }

    public void setMedicalName(String medicalName) {
        this.medicalName = medicalName;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Double getReimbursementAmount() {
        return reimbursementAmount;
    }

    public void setReimbursementAmount(Double reimbursementAmount) {
        this.reimbursementAmount = reimbursementAmount;
    }

    public Double getTotalCast() {
        return totalCast;
    }

    public void setTotalCast(Double totalCast) {
        this.totalCast = totalCast;
    }

    public String getInvoiceNo() {
        return invoiceNo;
    }

    public void setInvoiceNo(String invoiceNo) {
        this.invoiceNo = invoiceNo;
    }

    public LocalDate getDate() {
        return date;
    }

    public void setDate(LocalDate date) {
        this.date = date;
    }

    public String getIsReimbursement() {
        return isReimbursement;
    }

    public void setIsReimbursement(String isReimbursement) {
        this.isReimbursement = isReimbursement;
    }

    public String getIsRemit() {
        return isRemit;
    }

    public void setIsRemit(String isRemit) {
        this.isRemit = isRemit;
    }

    @Override
    public String toString() {
        return "Reimbursement{" +
                "id=" + id +
                ", cardId='" + cardId + '\'' +
                ", insuredName='" + insuredName + '\'' +
                ", medicalName='" + medicalName + '\'' +
                ", address='" + address + '\'' +
                ", reimbursementAmount=" + reimbursementAmount +
                ", totalCast=" + totalCast +
                ", invoiceNo='" + invoiceNo + '\'' +
                ", date=" + date +
                ", isReimbursement='" + isReimbursement + '\'' +
                ", isRemit='" + isRemit + '\'' +
                '}';
    }
}
